package com.example.test.controller;

import com.example.test.pojo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class testController {

    @RequestMapping("/")
    public pojo add(){
        pojo pojo = new pojo();
        pojo.setAge(18);
        pojo.setName("张三");
        return pojo;
    }


}
